From 0ccb2f242787ed8c01af480334d9411b5f86ebe2 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 1 Jul 2009 09:48:32 +0200 Subject: [PATCH] Creating the model no longer fails So remove the code that checked for failure, as it's not needed anymore. --- gtk/gtkfilechooserdefault.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index 24f42f7f97..f31c46f06c 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -6951,13 +6951,6 @@ set_list_model (GtkFileChooserDefault *impl, G_TYPE_FILE_INFO, G_TYPE_STRING); - if (!impl->browse_files_model) - { - set_busy_cursor (impl, FALSE); - profile_end ("end", NULL); - return FALSE; - } - load_setup_timer (impl); /* This changes the state to LOAD_PRELOAD */ g_signal_connect (impl->browse_files_model, "finished-loading", -- 2.30.2